				function __get(url, func) {
					var amp = '&';
					if(url.indexOf('?') == -1) {
						amp = '?';
					}
//					alert(gadgets.io.getProxyUrl(url));
					gadgets.io.makeRequest(url + amp + 'myAppSid=' + myAppSid + '&user_id=' + viewerId + '&owner_id=' + ownerId + '&Hi5AuthToken=' + Hi5AuthToken + '&hl=' + lang + '&env=' + environment,
              function (response) {
                  func(response);
              }
//              , {'METHOD' : 'GET', 'AUTHORIZATION' : 'SIGNED'}
              , {'METHOD' : 'GET'}
          );
				}

				function __post(url, params, func) {
					var amp = '&';
					if(url.indexOf('?') == -1) {
						amp = '?';
					}
					gadgets.io.makeRequest(url + amp + 'myAppSid=' + myAppSid + '&user_id=' + viewerId + '&owner_id=' + ownerId + '&Hi5AuthToken=' + Hi5AuthToken + '&hl=' + lang + '&env=' + environment,
              function (response) {
                  func(response);
              }
//              , {'METHOD' : 'POST', 'POST_DATA' : params, 'AUTHORIZATION' : 'AUTHENTICATED'}
              , {'METHOD' : 'POST', 'POST_DATA' : params}
          );
				}
				
				